package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Getter@Setter
public class Recruit {
    private Long id;
    //计划名称
    private String plan;
    //日期类型
    @DateTimeFormat(pattern ="yyyy-MM-dd" )
    //json格式的日期类型
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    //制定日期
    private Date draftTime;
    //审批状态
    private Integer examineState;
    //制定人
    private Employee draft;
    //审核人
    private Employee examine;

    private Department dept;

    //数据词典明细对象,封装查询所需的对象
    private SystemDictionaryBill planType;

}